/**
 * 
 */
package com.kunbo.cn.entity.core.inventory;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.EntityListeners;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;
import org.springframework.data.jpa.domain.support.AuditingEntityListener;

/**
 *库存管理
 * @author bjl  
 * @date 2019年2月26日 
 */
@Entity
@Table(name="business_inventory_manage")
@GenericGenerator(name = "jpa-uuid", strategy = "uuid")
@EntityListeners(AuditingEntityListener.class)
public class Inventory implements Serializable{
	private static final long serialVersionUID = 1L;
	@Id
	@GeneratedValue(generator = "jpa-uuid")
	@Column(length = 32)
	private String id;		
	private String uuid;
	private String create_user_id;
	private String taskid;
	private String inventoryCode;//库存编码
	private String materType;//物料类型
	private String material;//材料
	private String shiftDay;//班次，白班,中班
	//private String autonomy;
	private Integer autonomy;//是否自主生产0 是  1否
	private String wellhead;//井口
	private Float  workInventory;//上班库存
	private Float  production;//生产量
	private Float  wash;//入洗量
	private Float  callOut;//调出量
	private Float  Inventory;//库存量
	private String curentDate;//当前日期
	private String create_time;//创建日期
	
	public String getId(){
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getCreate_user_id() {
		return create_user_id;
	}
	public void setCreate_user_id(String create_user_id) {
		this.create_user_id = create_user_id;
	}
	public String getTaskid() {
		return taskid;
	}
	public void setTaskid(String taskid) {
		this.taskid = taskid;
	}
	public String getInventoryCode() {
		return inventoryCode;
	}
	public void setInventoryCode(String inventoryCode) {
		this.inventoryCode = inventoryCode;
	}
	public String getMaterType() {
		return materType;
	}
	public void setMaterType(String materType) {
		this.materType = materType;
	}
	public String getMaterial() {
		return material;
	}
	public void setMaterial(String material) {
		this.material = material;
	}
	public String getShiftDay() {
		return shiftDay;
	}
	public void setShiftDay(String shiftDay) {
		this.shiftDay = shiftDay;
	}
	/*public String getAutonomy() {
		return autonomy;
	}
	public void setAutonomy(String autonomy) {
		this.autonomy = autonomy;
	}*/
	
	public String getWellhead() {
		return wellhead;
	}
	public Integer getAutonomy() {
		return autonomy;
	}
	public void setAutonomy(Integer autonomy) {
		this.autonomy = autonomy;
	}
	public void setWellhead(String wellhead) {
		this.wellhead = wellhead;
	}
	
	public Float getWorkInventory() {
		return workInventory;
	}
	public void setWorkInventory(Float workInventory) {
		this.workInventory = workInventory;
	}
	public Float getProduction() {
		return production;
	}
	public void setProduction(Float production) {
		this.production = production;
	}
	public Float getWash() {
		return wash;
	}
	public void setWash(Float wash) {
		this.wash = wash;
	}
	public Float getCallOut() {
		return callOut;
	}
	public void setCallOut(Float callOut) {
		this.callOut = callOut;
	}
	public Float getInventory() {
		return Inventory;
	}
	public void setInventory(Float inventory) {
		Inventory = inventory;
	}
	public String getCurentDate() {
		return curentDate;
	}
	public void setCurentDate(String curentDate) {
		this.curentDate = curentDate;
	}
	public String getCreate_time() {
		return create_time;
	}
	public void setCreate_time(String create_time) {
		this.create_time = create_time;
	}
	
	


}
